<!--
 * @Author: zhangxiangsheng 1026583651@qq.com
 * @Date: 2024-04-15 17:10:30
 * @LastEditors: zhangxiangsheng 1026583651@qq.com
 * @LastEditTime: 2024-04-25 16:51:24
 * @FilePath: \crm\pages\list\list.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
-->
<template>
  <view>
    <u-navbar :title="title" leftText="取消" :leftIcon="leftIcon"></u-navbar>
    <formz :inputs="inputs" :data="data"></formz>
    <bottombox>
      <u-button type="error" text="保存"></u-button>
    </bottombox>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        leftIcon: "",
        title: "新建客户",
        data: {},
        inputs: [
          { label: "客户名称", value: "mc", iscard: "before", required: true },
          { label: "客户电话", value: "dh", required: true },
          { label: "地区", value: "dq" },
          { label: "地址", value: "dz" },
          { label: "客户来源", value: "ly" },
          { label: "客户类型", value: "lx" },
          { label: "客户等级", value: "dj", iscard: "after" },
          // { label: "客户电话", value: "dh" },
          { label: "负责人", value: "fzr", iscard: "before" },
          { label: "所属部门", value: "bm", iscard: "after" },
          {
            label: "备注",
            value: "bz",
            iscard: "card",
            type: "textarea",
            attrs: {
              labelPosition: "top",
            },
          },
        ],
        //
      };
    },
    methods: {},
  };
</script>

<style lang="scss">
  page {
    background: #f2f4f5;
  }
</style>
